import ToolActionApi from "@/tool/http/tool-action.js";

let dataAcquisition = ToolActionApi.init("data_acquisition_rule");

const rule = {
  queryParams: [],
  metadata: [
    {
      name: "created_date",
      memo: "接收时间",
      type: 3,
      hidden: false,
    },
  ],
};

export default async function () {
  rule.metadata.push({
    name: "data_acquisition_rule_id",
    dictList: await dataAcquisition.dict(),
  });
  return rule;
}
